source 'https://rubygems.org'
git_source(:github) do |repo_name|
  repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
  "https://github.com/#{repo_name}.git"
end
gem 'rails', '~> 5.1.6'
gem 'mysql2', '>= 0.3.18', '< 0.6.0'
gem 'puma', '~> 3.7'
group :development, :test do
  gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
  gem 'listen', '>= 3.0.5', '< 3.2'
  gem 'spring'
  gem 'spring-watcher-listen', '~> 2.0.0'
end
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# ================================================================= #
group :development, :test do
  gem 'pry-byebug'
  gem 'rails-erd'
  gem 'pry-rails'
  gem 'rubocop'
end
gem 'enumerize' # 枚举
gem 'friendly_id', '~> 5.1.0' # slug
gem 'aasm' # 状态机
gem 'paranoia', '~> 2.2' # 假删除
gem 'acts-as-taggable-on', '~> 6.0' # 打标签
gem 'carrierwave', '~> 1.0' # 上传文件
gem 'mini_magick'
gem 'lograge' # 修改日志
gem 'apipie-rails'
